//
//  UIBarButtonItem+XDItem.h
//  XDEducation
//
//  Created by Ethan on 2017/5/15.
//  Copyright © 2017年 apple. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIBarButtonItem (XDItem)
+ (instancetype)itemWithImage:(NSString *)image highImage:(NSString *)highImage target:(id)target action:(SEL)action;
+ (instancetype)itemWithImages:(NSString *)image highImage:(NSString *)highImage target:(id)target action:(SEL)action;
+ (instancetype)itemWithImages:(NSString *)image seleteImage:(NSString *)seleteImage target:(id)target action:(SEL)action;
+ (instancetype)itemWithTitle:(NSString *)str andTitleColor:(UIColor *)titleColor andSeleteTitle:(NSString *)seleteStr andSeleteTitleColor:(UIColor *)seleteTitleColor target:(id)target action:(SEL)action;

+ (instancetype)itemWithTitle:(NSString *)str andTitleColor:(UIColor *)titleColor andFont:(UIFont *)font andWidth:(CGFloat)width andSeleteTitle:(NSString *)seleteStr andSeleteTitleColor:(UIColor *)seleteTitleColor target:(id)target action:(SEL)action;
@end
